package cn.doit.scala.day04

/**
 * @DATE 2021/12/28/14:57
 * @Author MDK
 * @Version 2021.2.2
 * */
object C09_Distinct {
  def main(args: Array[String]): Unit = {
    val arr: Array[String] = Array("a", "ab", "ab", "cat", "hellocat", "hicat")
    val res: Array[String] = arr.distinct
    res.foreach(println)
  }
}
